.page-header {
  margin: 10px 10px 0 10px;
}

.coupon-container {
  padding: 10px;
  .coupon-item {
    &:not(:last-child) {
      margin-bottom: 10px;
    }

    .coupon-section {
      position: relative;
      height: 120px;
      border-radius: 6px;
      background: #fff;
      margin-bottom: 10px;

      .opacity {
        opacity: 0.3;
      }

      .section-1 {
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        width: 24%;
        background: url("https://lichetang.com/images/miniprogram/repair-coupon.png");
        background-size: 100% 100%;
        color: #fff;
        font-weight: bold;

        .coupon-image {
          position: absolute;
          top: 0;
          left: 0;
          height: 120px;
          width: 100%;
        }

        .remark {
          margin: auto;
          font-size: 13px;
          display: flex;
          display: -webkit-flex;
          justify-content: center;
          flex-direction: column;
          align-items: center;
          .amount {
            font-size: 26px;
          }
        }

      }

      .section-2 {
        width: 56%;
        padding: 15px 10px;
        font-size: 13px;
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        height: 90px;

        .remark {
          margin: auto;
          font-size: 12px;
          line-height: 18px;
          width: 100%;
          text {
            color: #999999;
          }
        }

        .sub-type-nme {
          font-size: 18px;
          font-weight: bold;
          line-height: 28px;
          color: black;
        }

        .arrow-down {
          font-size: 0;
          line-height: 0;
          border-width: 5px;
          border-bottom-width: 0;
          border-style: dashed;
          border-top-style: solid;
          border-left-color: transparent;
          border-right-color: transparent;
          vertical-align: middle;
          margin-left: 3px;
          margin-bottom: 2px;
          display: inline-block;
          color: black !important;
        }
      }

      .section-3 {
        width: 20%;
        padding: 15px 0;
        font-weight: bold;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 120px;
      }
      &.explain {
        margin-top: 10px;
        padding: 10px;
        font-size: 12px;
        .title{
          font-size: 14px;
          font-weight: bold;
          padding-bottom: 3px;
        }
      }
    }
  }
}
.warn{
  position: absolute;
  bottom: 80px;
  padding: 5px;
}
.coupon-footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  >view{
    flex: 1;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    .amount{
      font-size: 18px;
      font-weight: bold;
      padding: 3px;
      &.select-amount{
        color:coral;
      }
    }


  }
}
